package method;

public class MethodDemo3 {
    //F7进入方法内，    F8
    public static void main(String[] args) {
        test();
        int n=plus(5,6);
    }

    private static void test() {
        for (int i = 0; i < 100; i++) {
            System.out.println("hello"+i);
        }
    }

    private static int plus(int num1, int num2) {
        int num= num1+num2;
        return num;
    }
}
